class Admin::SettingsController < Admin::BaseController
  def index
    edit
    render :action => 'edit'
  end
  
  def edit
    @blog = @this_blog
  end
  
  def update
    @blog = Blog.find(params[:id])
    if @blog.update_attributes(params[:blog])
      flash[:notice] = 'Settings was successfully updated.'
      redirect_to :action => nil
    else
      render :action => 'edit'
    end
  end
end
